/**   
 * @fileName Bean.java
 * @package com.sllx.frost.ioc.config.xml
 * @copyright (c) 2014, sincerebravefight@gmail.com All Rights Reserved. 
 * @description TODO
 * @author sllx  
 * @date 2014-5-9 下午3:28:05
 * @modifiedBy sllx
 * @ModifiedDate 2014-5-9 下午3:28:05
   * Why & What is modified
 * @version V1.0
 */
package com.sllx.frost.ioc.config.xml;

import java.util.ArrayList;
import java.util.List;

/**
 * @className Bean
 * @description TODO
 * @author sllx
 * @date 2014-5-9 下午3:28:05
 * @modifiedBy sllx
 * @ModifiedDate 2014-5-9 下午3:28:05
 * Why & What is modified
 */
public class Bean {
	private String id;
	private String className;
	private List<Property> properties = new ArrayList<Property>(1);
	
	/**
	 * @title Bean
	 * @description 构造器 TODO    
	 */
	Bean(String id, String className) {
		this.id = id;
		this.className = className;
	}
	
	void add(Property property){
		properties.add(property);
	}


	/**
	 * @return the properties
	 */
	public List<Property> getProperties() {
		return properties;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @return the className
	 */
	public String getClassName() {
		return className;
	}
	
	
}
